<?php

namespace App\Models\Game\Config;

use App\Models\Game\Model;

class Domain extends Model
{
    /**
     * 数据表名称
     *
     * @var string
     */
    protected $table = 't_config_domains';

    /**
     * 不可批量赋值的字段
     *
     * @var array
     */
    protected $guarded = [];

    /**
     * 进行类型转换的字段
     *
     * @var array
     */
    protected $casts = [
        'config' => 'array',
        'created' => 'timestamp',
        'updated' => 'timestamp',
    ];
}
